package org.jeecg.modules.demo.property.entity;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: 投诉建议
 * @Author: jeecg-boot
 * @Date:   2022-03-29
 * @Version: V1.0
 */
@Data
@TableName("znzf_complaint")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="znzf_complaint对象", description="投诉建议")
public class ZnzfComplaint implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键")
    private java.lang.String id;
	/**创建人*/
    @ApiModelProperty(value = "创建人")
    private java.lang.String createBy;
	/**创建日期*/
    @ApiModelProperty(value = "创建日期")
    private java.util.Date createTime;
	/**更新人*/
    @ApiModelProperty(value = "更新人")
    private java.lang.String updateBy;
	/**更新日期*/
    @ApiModelProperty(value = "更新日期")
    private java.util.Date updateTime;
	/**所属部门*/
    @ApiModelProperty(value = "所属部门")
    private java.lang.String sysOrgCode;
	/**标题*/
	@Excel(name = "标题", width = 15)
    @ApiModelProperty(value = "标题")
    private java.lang.String title;
	/**内容*/
	@Excel(name = "内容", width = 15)
    @ApiModelProperty(value = "内容")
    private java.lang.String content;
	/**类别*/
	@Excel(name = "类别", width = 15, dicCode = "complaint_suggestion_type")
	@Dict(dicCode = "complaint_suggestion_type")
    @ApiModelProperty(value = "类别")
    private java.lang.Integer type;
	/**外键,提交人(用户)id*/
	@Excel(name = "外键,提交人(用户)id", width = 15)
    @ApiModelProperty(value = "外键,提交人(用户)id")
    private java.lang.String submiter;
	/**外键,响应人(管理员)id*/
	@Excel(name = "外键,响应人(管理员)id", width = 15)
    @ApiModelProperty(value = "外键,响应人(管理员)id")
    private java.lang.String responser;
	/**处理意见*/
	@Excel(name = "处理意见", width = 15)
    @ApiModelProperty(value = "处理意见")
    private java.lang.String opinion;
	/**优先级*/
	@Excel(name = "优先级", width = 15)
    @ApiModelProperty(value = "优先级")
    private java.lang.Integer priority;

    /**用户名称*/
    @ApiModelProperty(value = "用户名称")
    private transient java.lang.String userName;
    /**用户部门名称*/
    @ApiModelProperty(value = "用户部门名称")
    private transient java.lang.String departName;
    /**管理员名称*/
    @ApiModelProperty(value = "管理员名称")
    private transient java.lang.String responserName;
}
